﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ec_System.Models.Web;
using Ilongshi.Oversea.DataAccess;

namespace Ec_System.Service.Web
{
    public class IndexRecommendService
    {
        /// <summary>
        /// 获取首页推荐的商品
        /// </summary>
        /// <returns></returns>
        public List<IndexRecommendData> GetIndexRecommend()
        {
            var cmd = DataCommandManager.GetDataCommand("GetIndexRecommend");

            return cmd.ExecuteEntityList<IndexRecommendData>();
        }
    }
}
